package com.huike.web.controller.contract;

import com.huike.clues.domain.vo.TbRedeploy;
import com.huike.common.core.controller.BaseController;
import com.huike.common.core.page.TableDataInfo;
import com.huike.clues.domain.Transfer;
import com.huike.contract.domain.vo.TransferVo;
import com.huike.contract.service.ITransferService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RestController
@RequestMapping("/transfer")
public class TransferController extends BaseController {


    @Autowired
    ITransferService iTransferService;

    /*转派列表*/
    @GetMapping("/list")
    public TableDataInfo list(Transfer transfer) {
        List<TransferVo> list = iTransferService.list(transfer);
        return getDataTablePage(list);
    }
}